import service from "@/utils/fetch";
const post = {
  //审核商户入驻
  checkSettled(params) {
    return service({
      method: "post",
      data: params,
      url: "/api/tenant/checkSettled"
    });
  },

  //查询入驻配置
  getConfig() {
    return service({
      method: "get",
      url: "/api/sysConfig/",
    });
  },

  //编辑入驻配置
  saveConfig(params) {
    return service({
      method: "put",
      data: params,
      url: "/api/sysConfig/",
    });
  },
};

export default post;
